import axios from 'axios';
export const HOST = 'http://wulasite.me:88';


axios.interceptors.response.use((res) =>{
  if(res.data.status && res.data.status === 'invalid Token'){
    return Promise.reject(res);
  }
  return res;
}, (error) => {
  //404等问题可以在这里处理
  return Promise.reject(error);
});

export const myAxios = axios;
